/*filename: pps.h */

#ifndef _PPS_H_
#define _PPS_H_

/*Macro Definition*/
#define PPS_CLI_PORT 1234
#define PPS_BIND_RETRY 100
#define PPS_RECV_BUF_SIZE 1600

#define PPS_RUN_LOG_FILE_NAME "pps.log"
#define PPS_PID_FILE_NAME "/tmp/pps.lockxb"
#define PPS_LOG_SEND_DIR "/tmp"

#define PPS_DEVICE_NAME_STR_LEN 64
#define PPS_FILTRULER_PARA_SIZE 10

#define PPS_LOG_DIR_NAME "logs"

/*Function Definition*/
void* PacketHandlerProc(void *p);
void InitPPS();
void ExitPPS(void);
void *thread_emule_client(void *p);
int create_log_dir();


typedef struct http_header_s
{
    char *host;
    char *url;
    char *refer;
}http_header_t;

#endif
